﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Blog190210.Models.DAL;
using Blog190210.Models.DBModels;

namespace Blog190210.Controllers
{
    public class AboutController : Controller
    {
        UserSer userSer = new UserSer();
        // GET: About
        public ActionResult Index()
        {
            User user=  userSer.GetUserByName("admin");
            return View(user);
        }
    }
}